import request from '@/utils/request'
import qs from "qs"

export default{

    // 查询配置数据
    getById(){

return request({

    
    url: '/api-order/order-config/selectById',
    method: 'get',
})

    },

    // 修改订单设置
    updateById(list){

        var data = qs.stringify(list);
        console.log(data);
        return request({
            url: '/api-order/order-config/updateById',
            method: 'put',
            data
        })     

    }


}